<?php
/**
 * CreateUser: zlh
 * CreateTime: 2022/3/3 15:40
 * Remark:
 */

namespace App\Func;

class PathFunc
{
    /**
     * 获取StorageApp路径
     * @return string
     */
    public static function getStorageApp(): string
    {
        return storage_path().DIRECTORY_SEPARATOR."app".DIRECTORY_SEPARATOR;
    }

    public static function getLibrary(): string
    {
        return app_path().DIRECTORY_SEPARATOR."..".DIRECTORY_SEPARATOR."library".DIRECTORY_SEPARATOR;
    }

    public static function getDocxGenerator(): string
    {
        return self::getLibrary()."docxGenerator".DIRECTORY_SEPARATOR;
    }
}